ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 13 - No. 12)

In the context of the provided examples, what is the purpose of using an 'IF...THEN...ELSE' statement within an algorithm?
To perform a repetitive action.
To create a loop structure.
To select different actions based on a condition.
To define variables.

Εξήγηση

IF...THEN...ELSE statements are used for decision-making, executing different blocks of code based on whether a condition is true or false.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc